package com.diko.util;

import com.aliyuncs.DefaultAcsClient;
import com.aliyuncs.profile.DefaultProfile;

/**
 * @author Emma Li
 * @date 2020/9/30 - 15:39
 */
public class AliyunVodSDKUtils {
    public static DefaultAcsClient initVodClient(String accessKeysId, String accessKeySecret){
        String regionId="cn-Shanghai";//点播服务接入区域
        DefaultProfile profile = DefaultProfile.getProfile(regionId, accessKeysId, accessKeySecret);
        DefaultAcsClient client=new DefaultAcsClient(profile);
        return client;
    }

}
